package fwk.siteManager2.BO {	
	import fwk.loaderManager.LoaderItemObject;

	
	public class DisplayElementData
	{
		
		public var id:String;
		public var classAlias:String;
		
		public var center:Boolean = false;
		public var display:Boolean = false;
		
		public var x:int = 0;
		public var y:int = 0;
		
		
		
		public function DisplayElementData():void
		{
			
			
		}
		
		public function init(xml:XML):void
		{
			id 				= xml.@id;
			classAlias 		= xml.@classAlias;
			
			if (String(xml.@center[0]) == "true") center = true;
			if (String(xml.@display[0]) == "true") display = true;
			
			if(xml.@x[0] is XML) x = parseInt(xml.@x);
			if(xml.@y[0] is XML) y = parseInt(xml.@y);
			
			
			
		}
				
	}
	
	
}